@model IEnumerable<OurWedding1.Models.MustHaveSong>
@using OurWedding1

@{
    ViewBag.Title = Resources.MustHaveSongs;
}

<h2>@ViewBag.Title</h2>

<p>
    @Html.ActionLink(@Resources.Create_New, "Create")
</p>

<ul>
    @foreach (var item in Model)
    {
        <li>
            @Html.ActionLink(string.Format("{0} - {1}", item.Artist, item.Title), "Details", new { id = item.MustHaveSongId })
            [@Html.ActionLink(Resources.Edit, "Edit", new { id = item.MustHaveSongId }) |
        @Html.ActionLink(Resources.Delete, "Delete", new { id = item.MustHaveSongId })]
        </li>
    }
</ul>



